package com.sunlei.service.Impl;

import com.sunlei.Mapper.StudentMapper;
import com.sunlei.pojo.Student;
import com.sunlei.service.StudentService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * @author sunlei
 */
@Service
public class StudentServiceImpl implements StudentService {
    @Resource
    private StudentMapper studentMapper;
    @Override
    public List<Student> queryStudent() {
        return studentMapper.queryStudent();
    }
}
